package orz.mikeneck.server.locrec.utils;

import com.google.appengine.api.users.User;
import com.google.appengine.api.users.UserService;

public class UserServiceUtil {

	UserService userService;

	public UserServiceUtil(UserService us){
		this.userService = us;
	}

	public UserService getUserService() {
		return userService;
	}

	public void setUserService(UserService userService) {
		this.userService = userService;
	}

	public User getUser(){
		return userService.getCurrentUser();
	}

	public String getEmail(){
		User user = getUser();
		return user.getEmail();
	}
}
